export function getLastSixMonths() {
  const result = []
  const currentDate = new Date()
  for (let i = 0; i < 6; i++) {
    const year = currentDate.getFullYear()
    let month = currentDate.getMonth() - i
    if (month < 0) {
      month += 12
      year -= 1
    }
    const formattedMonth = (month + 1).toString().padStart(2, '0')
    result.push(year * 100 + parseInt(formattedMonth))
  }
  return result
}
